<script >
export default {
  name:"webAside",
  data(){
    return {
      //isCollapse:false
    }
  },
  props:{
    isCollapse:Boolean
  }
}
</script>

<template>

  <el-menu
      background-color="#545c64"
      text-color="#fff"
      active-text-color="#ffd04b"
      style="height: 100vh;"
      default-active="/Home"
      :collapse="isCollapse"
      :collapse-transition="false"
  >

    <el-menu-item index="/Home">
      <i class="el-icon-s-home"></i>
      <span slot="title">首页</span>
    </el-menu-item>
    <el-menu-item index="/one">
      <i class="el-icon-price-tag"></i>
      <span slot="title">导航一</span>
    </el-menu-item>
    <el-menu-item index="/two">
      <i class="el-icon-discount"></i>
      <span slot="title">导航二</span>
    </el-menu-item>
  </el-menu>
</template>

<style scoped>

</style>